# from learn import db, Video, LeadingActor
# from __init__ import jsonify, create_app
#
#
# app = create_app('default')
# with app.app_context():
#     vdo = Video.query.all()
#     for i in vdo:
#         json = jsonify(id=i.id, name=i.name, time=i.time, director=i.director, content=i.content, url=i.url, img_url=i.img_url)
#         print(json)
